package com.augurit.wf.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "JBPM4_HIST_ACTINST")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Jbpm4HistActInst implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6300917729082361934L;

	// 属性
	@Id
    @Column(name = "DBID_")
	private Long dbid;
	
	@Column(name="CLASS_")
	private String clazz;
	
	@Column(name = "DBVERSION_")
	private Long dbversion;
	
	@Column(name="HPROCI_")
	private Long hisProcInstDbid;
	
	@Column(name="TYPE_")
	private String type;
	
	@Column(name="EXECUTION_")
	private String executionId;
	
	@Column(name="ACTIVITY_NAME_")
	private String activityName;
	
	@Column(name="START_")
	private Date startTime;
	
	@Column(name="END_")
	private Date endTime;
	
	@Column(name="DURATION_")
	private Long duration;
	
	@Column(name="TRANSITION_")
	private String transitionName;
	
	@Column(name="NEXTIDX_")
	private String nextIdx;
	
	@Column(name="HTASK_")
	private Long hisTaskDbid;

	public Long getDbid() {
		return dbid;
	}

	public void setDbid(Long dbid) {
		this.dbid = dbid;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public Long getDbversion() {
		return dbversion;
	}

	public void setDbversion(Long dbversion) {
		this.dbversion = dbversion;
	}

	public Long getHisProcInstDbid() {
		return hisProcInstDbid;
	}

	public void setHisProcInstDbid(Long hisProcInstDbid) {
		this.hisProcInstDbid = hisProcInstDbid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getExecutionId() {
		return executionId;
	}

	public void setExecutionId(String executionId) {
		this.executionId = executionId;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Long getDuration() {
		return duration;
	}

	public void setDuration(Long duration) {
		this.duration = duration;
	}

	public String getTransitionName() {
		return transitionName;
	}

	public void setTransitionName(String transitionName) {
		this.transitionName = transitionName;
	}

	public String getNextIdx() {
		return nextIdx;
	}

	public void setNextIdx(String nextIdx) {
		this.nextIdx = nextIdx;
	}

	public Long getHisTaskDbid() {
		return hisTaskDbid;
	}

	public void setHisTaskDbid(Long hisTaskDbid) {
		this.hisTaskDbid = hisTaskDbid;
	}

}